/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.entity;

import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *  资产信息管理
 *
 * @author liyue
 * @date 2021-11-23 09:26:24
 */
@Data
@TableName("fy_asset_assetupdate_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = " 资产信息管理")
@Builder
public class AssetAssetupdateInfo extends Model<AssetAssetupdateInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 房间ID
     */
    @TableId
    @ApiModelProperty(value="房间ID")
    private Long id;

    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID")
    private Integer tenantId;

    /**
     * 所属父单据ID
     */
    @ApiModelProperty(value="所属父单据ID")
    private Long parentId;

    /**
     * 字段中文名
     */
    @TableField(condition = SqlCondition.LIKE)
    @ApiModelProperty(value="字段中文名")
    private String fieldnameCn;

    /**
     * 字段名
     */
    @TableField(condition = SqlCondition.LIKE)
    @ApiModelProperty(value="字段名")
    private String fieldname;

    /**
     * 原值
     */
    @TableField(condition = SqlCondition.LIKE)
    @ApiModelProperty(value="原值")
    private String original;

    /**
     * 修改值
     */
    @TableField(condition = SqlCondition.LIKE)
    @ApiModelProperty(value="修改值")
    private String modifyValue;

    /**
     * 资产名称
     */
    @TableField(condition = SqlCondition.LIKE)
    @ApiModelProperty(value="资产名称")
    private String assetName;

}
